<?php
/**
 * @author mahuohuo
 * @copyright mahuohuo
 * @link https://gitee.com/foglede
 * 加载所有实现类
 */
define('SAE_MYSQL_USER', 'mahuohuo');
define('SAE_MYSQL_PASS', 'foglede');
define('SAE_MYSQL_HOST_M', '127.0.0.1');
define('SAE_MYSQL_HOST_s', 'localhost');
define('SAE_MYSQL_PORT', '3306');
define('SAE_MYSQL_DB', 'mahuohuosae');

//以下代码牵一发动全身，如果你不介意可以修改。
define('counterfilename','mahuohuoCounter');
define('queuefilename', 'mahuohuoQueue_');
define('rankfilename', 'mahuohuorank_');

define('SAE_TMP_PATH', __DIR__);
define('SAE_ACCESSKEY', 'mahuohuo');
define('SAE_SECRETKEY', 'mahuohuo');

define('SAE_Font_Sun',$_SERVER['SystemRoot'].DIRECTORY_SEPARATOR.'fonts'.DIRECTORY_SEPARATOR.'simsun.ttc');
define('SAE_Font_Kai',$_SERVER['SystemRoot'].DIRECTORY_SEPARATOR.'fonts'.DIRECTORY_SEPARATOR.'simkai.ttf');
define('SAE_Font_Hei', SAE_TMP_PATH.DIRECTORY_SEPARATOR.'wqy-zenhei.ttc');
define('SAE_Font_MicroHei',SAE_TMP_PATH.DIRECTORY_SEPARATOR.'wqy-microhei.ttc');


foreach(glob(__dir__.DIRECTORY_SEPARATOR.'*.class.php') as $filename){
  include $filename;
}

?>
